package com.medical.project.system.domain;

import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 家庭成员对象 family_member
 * 
 * @author tale
 * @date 2020-06-20
 */
public class FamilyMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 家庭编码 */
    @Excel(name = "家庭编码")
    private String familyCode;

    /** 家庭成员名字 */
    @Excel(name = "家庭成员名字")
    private String name;

    /** 参合编码 */
    @Excel(name = "参合编码")
    private String joinNhCode;

    /** 参合状态 0 未参合 1已参合 */
    @Excel(name = "参合状态 0 未参合 1已参合")
    private String state;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idCard;

    /** 年龄 0 男 1 女*/
    @Excel(name = "年龄")
    private Integer age;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 慢性病证 */
    @Excel(name = "慢性病证")
    private String medicalCard;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getFamilyCode() {
        return familyCode;
    }

    public void setFamilyCode(String familyCode) {
        this.familyCode = familyCode;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setJoinNhCode(String joinNhCode) 
    {
        this.joinNhCode = joinNhCode;
    }

    public String getJoinNhCode() 
    {
        return joinNhCode;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setAge(Integer age) 
    {
        this.age = age;
    }

    public Integer getAge() 
    {
        return age;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setMedicalCard(String medicalCard) 
    {
        this.medicalCard = medicalCard;
    }

    public String getMedicalCard() 
    {
        return medicalCard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("familyCode", getFamilyCode())
            .append("name", getName())
            .append("joinNhCode", getJoinNhCode())
            .append("state", getState())
            .append("idCard", getIdCard())
            .append("age", getAge())
            .append("sex", getSex())
            .append("medicalCard", getMedicalCard())
            .append("phone", getPhone())
            .toString();
    }
}
